<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}" />
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<link media="all" type="text/css" href="{dede:global.cfg_cmsurl/}/res/css/main.css" rev="stylesheet" rel="stylesheet">

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&language=zh_CN"></script>
<script type="text/javascript">
  function initialize() {
	var myOptions = {
	  scaleControl: true,
	  center: new google.maps.LatLng(31.171021890861137, 121.41645602881908),
	  zoom: 15,
	  mapTypeId: google.maps.MapTypeId.ROADMAP
	};

	var map = new google.maps.Map(document.getElementById('map_canvas'),
		myOptions);

	var marker = new google.maps.Marker({
	  map: map,
	  position: map.getCenter()
	});

	var infowindow = new google.maps.InfoWindow();
	infowindow.setContent('<div>国核自仪系统工程有限公司<br /><span style="font-size:12px;paddding-top:5px;">上海市田林路888弄6号楼东楼</span></div>');
	google.maps.event.addListener(marker, 'click', function() {
		infowindow.open(map, marker);
	});
	
  }

  google.maps.event.addDomListener(window, 'load', initialize);
  
</script>
</head>

<body>
<div class="wrap">
{dede:include filename="head.htm"/}
	<div id="body" class="w960">
		<div class="page_menu_box">
			<h1>{dede:channel type='parent' }
     [field:typename/]
     {/dede:channel}</h1>
			<div class="page_menu">
				<ul>
					{dede:channel type='son' currentstyle="
				      <li class='on'><a href='~typelink~'>~typename~</a></li>
				      "}
						<li><a href='[field:typeurl/]'>[field:typename/]</a></li>
					{/dede:channel}
				</ul>
				<span class="botbar"></span>
			</div>
		</div>
					
		<div class="news_box">
			<div id="topimg" class="
{dede:channel type='parent' }
[field:typename runphp='yes']
if(@me=="公司概况" )@me="topimg5";
elseif(@me=="新闻资讯" )@me="topimg4";
elseif(@me=="主营业务" )@me="topimg1";
elseif(@me=="人力资源" )@me="topimg7";
elseif(@me=="企业文化" )@me="topimg3";
elseif(@me=="联系我们" )@me="topimg6";
[/field:typename]
     {/dede:channel}
	"></div>
			<div class="cont_page">当前位置：{dede:field name='position'/}</div>
			<div class="news_box_head">
				<div class="news_box_foot">
					<div class="news_data">
						<h5 class="green_line"><span>{dede:field name='typename'/}</span></h5>
						<div class="news_content">
							{dede:field.content/}
							<div class="gMaps"><div id="map_canvas" class="map_canvas"></div></div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>
	    {dede:include filename="footer.htm"/}
</div>
<script type="text/javascript" src="res/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="res/js/slides.jquery.js"></script>
<script type="text/javascript" src="res/js/menu.js"></script>
<script type="text/javascript">
$(function(){
	$('#slides').slides({
		preload: true,
		preloadImage: 'res/img/loading.gif',
		play: 5000,
		pause: 2500,
		hoverPause: true
	});
	
	$('.MN01').febgmenu({autoWidth: true});
	$('.MN02').febgmenu({showType  : 1});

	$("#links_tab a").bind("click", function() {
		var i = $("#links_tab a").index(this);
		$(this).parent().addClass("on").siblings().removeClass("on");
		$("#links").children("ul").eq(i).show().siblings().hide();
	});
});
</script>
</body>
</html>